package com.qingzhou.web.service;

import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;
import com.qingzhou.web.repository.entity.VisitEntity;
import com.qingzhou.web.repository.entity.VisitEntity;
import com.qingzhou.web.service.impl.params.request.*;
import com.qingzhou.web.service.impl.params.vo.VisitVo;

/**
 *
 * @author 李海
 */
public interface VisitService extends IService<VisitEntity> {

    int add(VisitAddForm form);
    int delete(VisitDeleteForm form);
    Page<VisitVo> page(Page<VisitEntity> page, SubTablePageForm form);
    VisitVo detail(VisitDetailForm form);
    int edit(VisitEditForm form);
    int forceEdit(VisitForceEditForm form);
    int done(VisitDoneForm form);
    int stop(VisitStopForm form);

    /**
     * 随访提醒
     *
     */
    int visitRemind();
}
